package com.fairisanddog.service.serviceimpl;


import com.fairisanddog.entity.Movie;
import com.fairisanddog.mapper.MovieMapper;
import com.fairisanddog.service.MovieService;

import java.util.List;

public class MovieServiceImpl implements MovieService {

    private MovieMapper movieMapper;
    public void setMovieMapper(MovieMapper movieMapper){
        this.movieMapper=movieMapper;
    }

    public List<Movie> queryAllMovies() {
        return movieMapper.queryAllMovies();
    }
}
